#pragma once
#ifdef _WIN32
#   define WIN32_LEAN_AND_MEAN
#   include <winsock2.h>
#   include <ws2tcpip.h>
#   include <windows.h>
#   include <algorithm>
#   pragma comment(lib, "ws2_32.lib")   // MinGW 同样支持这句
#else
#   include <sys/socket.h>
#   include <netinet/in.h>
#   include <unistd.h>
#   include <arpa/inet.h>
#endif

#include <vector>
#include <string>
#include <iostream>
#include <windows.h>
#include <fstream>
#include <cstdint>
#include <cstring>
#include <chrono>
#include <map>
#include <mutex>
#include <thread>
#include "external/json.hpp"
#include "SQLParser.h"